public class ServiceFactory : System.Cores.IOC.ServiceFactory
{
    public new static System.Reflection.Assembly LoadSQLServerDAL()
    {
        return System.Cores.IOC.ServiceFactory.LoadService("*.SQLServerDAL.dll");
    }
    public new static System.Reflection.Assembly LoadOracleDAL()
    {
        return System.Cores.IOC.ServiceFactory.LoadService("*.OracleDAL.dll");
    }

    public new static System.Reflection.Assembly LoadServices()
    {
        return System.Cores.IOC.ServiceFactory.LoadService("*.Services.dll");
    }

    public new static void Register(System.Reflection.Assembly service)
    {
        System.Cores.IOC.ServiceFactory.Register(service);
    }
    public new static T GetService<T>() where T : class
    {
        return System.Cores.IOC.ServiceFactory.GetService<T>();
    }
    /// <summary>
    /// Create object by specil name.
    /// </summary>
    /// <typeparam name="T"></typeparam>
    /// <param name="name"></param>
    /// <returns></returns>
    public new static T GetService<T>(string name) where T : class
    {
        return System.Cores.IOC.ServiceFactory.GetService<T>(name);
    }
    /// <summary>
    /// Create object use lazy.
    /// </summary>
    /// <typeparam name="T"></typeparam>
    /// <returns></returns>
    public new static T LazyT<T>() where T : class
    {
        return System.Cores.IOC.ServiceFactory.LazyT<T>();
    }

}
